package com.hxzy.shop.commodity.dto.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel("获得请求")
public class ActivityReq implements Serializable {

    @ApiModelProperty("药品名称")
    private String drugName;

    @ApiModelProperty("销量 1 按销量排序")
    private Integer sales;

    @ApiModelProperty("价格 1降序 0 升序")
    private Integer price;

    @ApiModelProperty(hidden = true)
    private Date thisTime;

    @ApiModelProperty("时间排序 0 升序")
    private Integer timeSort;

    @ApiModelProperty("分类id")
    private String classifiedId;

    @ApiModelProperty(name = "pageSize", value = "每页个数 ")
    private Integer pageSize;

    @ApiModelProperty(name = "pageNum", value = "当前页 ")
    private Integer pageNum;

    @ApiModelProperty("是否首页访问 true:来至首页")
    private Boolean isFromIndex = false;
}